package com.mask.roll.common.code;

/**
 * @author hx
 * @since 2021/10/21 12:03 下午
 */

public enum SystemEnums {
    SYSTEM_ERROR("500","服务器内部错误"),
    SYSTEM_ARITHMETIC("401","算术异常"),
    URL_ERROR("403","地址错误"),
    FILE_UPLOAD_ERROR("413","上传文件大小超出限制"),
    REDIS_ERROR("A1001","redis异常"),
    MD5_ERROR("A1002","MD5加密出错"),
    VOD_AUTH_ERROR("A1003","获取阿里云视频凭证异常"),
    NOT_LOGIN("A1004", "无法获取登录信息，请先登录"),
    NOT_ACCESS_AUTH("A1005", "访问权限不足"),
    ;


    private final String code;
    private final String message;

    SystemEnums(String code, String message) {
        this.code = code;
        this.message = message;
    }

    public String getCode() {
        return code;
    }

    public String getMessage() {
        return message;
    }
}
